package com.fsl.springbootdesignpattern.k_chain;

import java.util.Random;

public class Test {

    public static void main(String[] args) {
        //员工报销
        Employee employee = new Employee();
        employee.setPriceHandler(UnitePriceHandler.getPriceHandler());
        Random ran = new Random();
        for(int i=0;i<10;i++){
            employee.applyReimbursement(ran.nextInt(2000));
        }
    }
}
